In xm shell, add a space to the function names when tab-completing.
authorEwan Mellor <ewan@xensource.com>
Tue, 13 Mar 2007 22:12:18 +0000 (22:12 +0000)
committerEwan Mellor <ewan@xensource.com>
Tue, 13 Mar 2007 22:12:18 +0000 (22:12 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xm/main.py

index 6c32e8529e7eadaec8aea5f8454a87e48ee5e609..ad967d275ecb7996b55fcedec86ecb84331bd5b7 100644 (file)
@@ -557,7 +557,7 @@ class Shell(cmd.Cmd):
         if serverType == SERVER_XEN_API:
             res = server.xenapi._UNSUPPORTED_list_all_methods()
             for f in res:
-                setattr(Shell, 'do_' + f, self.default)
+                setattr(Shell, 'do_' + f + ' ', self.default)
 
     def preloop(self):
         cmd.Cmd.preloop(self)